package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Description 商会行驶日志
 * @Author cwq
 * @Data 2021/6/2 20:14
 */
@FieldTypeAnnotation(tableName = "t_c_ck_dragonboatrace_union_distance_log",uploadCk = true,autoSave = true,desc = "赛龙舟商会行驶日志",isCross = true)
public class LogDragonBoatRaceUnionDistance extends ServerBaseLog{
    @FieldTypeAnnotation(desc = "活动id",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "商会id",isIndex = true)
    private String unionId;
    @FieldTypeAnnotation(desc = "商会等级")
    private int unionLevel;
    @FieldTypeAnnotation(desc = "用户id")
    private long userId;
    @FieldTypeAnnotation(desc = "用户增加距离")
    private int addDistance;
    @FieldTypeAnnotation(desc = "商会总行驶距离")
    private long totalDistance;

    public LogDragonBoatRaceUnionDistance(int activityId, String unionId, int unionLevel, long userId, int addDistance, long totalDistance, long time) {
        this.activityId = activityId;
        this.unionId = unionId;
        this.unionLevel = unionLevel;
        this.userId = userId;
        this.addDistance = addDistance;
        this.totalDistance = totalDistance;
        this.time = time;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public int getUnionLevel() {
        return unionLevel;
    }

    public void setUnionLevel(int unionLevel) {
        this.unionLevel = unionLevel;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getAddDistance() {
        return addDistance;
    }

    public void setAddDistance(int addDistance) {
        this.addDistance = addDistance;
    }

    public long getTotalDistance() {
        return totalDistance;
    }

    public void setTotalDistance(long totalDistance) {
        this.totalDistance = totalDistance;
    }

}
